<template>
  <div class="feature-card">
    <div class="icon">{{ icon }}</div>
    <h3>{{ title }}</h3>
    <p>{{ description }}</p>
  </div>
</template>

<script setup lang="ts">
defineProps<{
  title: string
  description: string
  icon: string
}>()
</script>

<style scoped lang="scss">
.feature-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  
  .icon {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: $secondary-color;
  }
  
  p {
    color: $text-light-color;
    line-height: 1.6;
  }
}
</style>